/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jigdo.utils;

/**
 *
 * @author Saruman
 */
public class BetterByteStream extends java.io.ByteArrayInputStream {
    
    public BetterByteStream(byte[] src, int start, int length)
    {
     super(src,start,length);
    }
    
    public BetterByteStream(byte[] src)
    {
        super(src);
    }
    
    public int getPosition()
    {
        return this.pos;
    }
    
    public int getLength()
    {
        return this.count;
    }
    
}
